// token值
const tokenValue = 'tokenValue'
export const setTokenValue = (token) => {
  wx.setStorageSync(tokenValue, token)
}
export const getTokenValue = () => {
  return wx.getStorageSync(tokenValue)
}

export const removeTokenValue = () => {
  wx.removeStorageSync(tokenValue)
}

// 用户信息
const userInfoValue = 'userInfoValue'
export const setUserInfo = (userInfo) => {
  wx.setStorageSync(userInfoValue, userInfo)
}
export const getUserInfo = () => {
  return wx.getStorageSync(userInfoValue)
}

export const removeUserInfo = () => {
  wx.removeStorageSync(userInfoValue)
}
// 登录信息手机号
const loginMsg = 'loginMsg'
export const setLoginMsg = (loginMsgValue) => {
  wx.setStorageSync(loginMsg, loginMsgValue)
}
export const getLoginMsg = () => {
  return wx.getStorageSync(loginMsg)
}


// uuid标识
const uuid = 'uuid'
export const setUuid = (uuidValue) => {
  wx.setStorageSync(uuid, uuidValue)
}
export const getUuid = () => {
  return wx.getStorageSync(uuid)
}